<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { initRouter } from "@/router/index.js";
export default {
  name: "App",
  created() {
    initRouter();
  },
};
</script>

<style lang='scss'>
* {
  margin: 0;
  padding: 0;
}
body {
  height: 100vh;
  #app {
    height: 100%;
  }
}
#nprogress .bar {
  background: red !important; //自定义颜色
}
</style>
